evtchn: pad struct evtchn to 64 bytes
authorDavid Vrabel <david.vrabel@citrix.com>
Mon, 22 Jun 2015 09:39:46 +0000 (11:39 +0200)
committerJan Beulich <jbeulich@suse.com>
Mon, 22 Jun 2015 09:39:46 +0000 (11:39 +0200)
commitb58214a24231a1f2a7e09ae9cc3014eff752918b
treeb09aaae5c034a2c54358492ed307000b07f19789
parentde6acb78bf0e137cbe5b72cee4a35ca018d759cc
evtchn: pad struct evtchn to 64 bytes

The number of struct evtchn in a page must be a power of two.  Under
some workloads performance is improved slightly by padding struct
evtchn to 64 bytes (a typical cache line size), thus putting the fewer
per-channel locks into each cache line.

This does not decrease the number of struct evtchn's per-page.

Signed-off-by: David Vrabel <david.vrabel@citrix.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
xen/include/xen/sched.h